a__and(true, X) → mark(X)
a__and(false, Y) → false
a__if(true, X, Y) → mark(X)
a__if(false, X, Y) → mark(Y)
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(add(X, Y))
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
a__from(X) → cons(X, from(s(X)))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(if(X1, X2, X3)) → a__if(mark(X1), X2, X3)
mark(add(X1, X2)) → a__add(mark(X1), X2)
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(X)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(X)) → s(X)
mark(nil) → nil
mark(cons(X1, X2)) → cons(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__if(X1, X2, X3) → if(X1, X2, X3)
a__add(X1, X2) → add(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
↳ QTRS
↳ DependencyPairsProof
a__and(true, X) → mark(X)
a__and(false, Y) → false
a__if(true, X, Y) → mark(X)
a__if(false, X, Y) → mark(Y)
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(add(X, Y))
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
a__from(X) → cons(X, from(s(X)))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(if(X1, X2, X3)) → a__if(mark(X1), X2, X3)
mark(add(X1, X2)) → a__add(mark(X1), X2)
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(X)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(X)) → s(X)
mark(nil) → nil
mark(cons(X1, X2)) → cons(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__if(X1, X2, X3) → if(X1, X2, X3)
a__add(X1, X2) → add(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
MARK(and(X1, X2)) → MARK(X1)
MARK(from(X)) → A__FROM(X)
A__IF(false, X, Y) → MARK(Y)
MARK(first(X1, X2)) → MARK(X2)
A__AND(true, X) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
A__ADD(0, X) → MARK(X)
MARK(if(X1, X2, X3)) → MARK(X1)
MARK(add(X1, X2)) → MARK(X1)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
MARK(add(X1, X2)) → A__ADD(mark(X1), X2)
A__IF(true, X, Y) → MARK(X)
MARK(if(X1, X2, X3)) → A__IF(mark(X1), X2, X3)
a__and(true, X) → mark(X)
a__and(false, Y) → false
a__if(true, X, Y) → mark(X)
a__if(false, X, Y) → mark(Y)
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(add(X, Y))
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
a__from(X) → cons(X, from(s(X)))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(if(X1, X2, X3)) → a__if(mark(X1), X2, X3)
mark(add(X1, X2)) → a__add(mark(X1), X2)
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(X)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(X)) → s(X)
mark(nil) → nil
mark(cons(X1, X2)) → cons(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__if(X1, X2, X3) → if(X1, X2, X3)
a__add(X1, X2) → add(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
MARK(and(X1, X2)) → MARK(X1)
MARK(from(X)) → A__FROM(X)
A__IF(false, X, Y) → MARK(Y)
MARK(first(X1, X2)) → MARK(X2)
A__AND(true, X) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
A__ADD(0, X) → MARK(X)
MARK(if(X1, X2, X3)) → MARK(X1)
MARK(add(X1, X2)) → MARK(X1)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
MARK(add(X1, X2)) → A__ADD(mark(X1), X2)
A__IF(true, X, Y) → MARK(X)
MARK(if(X1, X2, X3)) → A__IF(mark(X1), X2, X3)
a__and(true, X) → mark(X)
a__and(false, Y) → false
a__if(true, X, Y) → mark(X)
a__if(false, X, Y) → mark(Y)
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(add(X, Y))
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
a__from(X) → cons(X, from(s(X)))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(if(X1, X2, X3)) → a__if(mark(X1), X2, X3)
mark(add(X1, X2)) → a__add(mark(X1), X2)
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(X)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(X)) → s(X)
mark(nil) → nil
mark(cons(X1, X2)) → cons(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__if(X1, X2, X3) → if(X1, X2, X3)
a__add(X1, X2) → add(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
MARK(and(X1, X2)) → MARK(X1)
MARK(from(X)) → A__FROM(X)
MARK(first(X1, X2)) → MARK(X2)
A__IF(false, X, Y) → MARK(Y)
A__AND(true, X) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(if(X1, X2, X3)) → MARK(X1)
A__ADD(0, X) → MARK(X)
MARK(add(X1, X2)) → MARK(X1)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
MARK(add(X1, X2)) → A__ADD(mark(X1), X2)
A__IF(true, X, Y) → MARK(X)
MARK(if(X1, X2, X3)) → A__IF(mark(X1), X2, X3)
a__and(true, X) → mark(X)
a__and(false, Y) → false
a__if(true, X, Y) → mark(X)
a__if(false, X, Y) → mark(Y)
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(add(X, Y))
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
a__from(X) → cons(X, from(s(X)))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(if(X1, X2, X3)) → a__if(mark(X1), X2, X3)
mark(add(X1, X2)) → a__add(mark(X1), X2)
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(X)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(X)) → s(X)
mark(nil) → nil
mark(cons(X1, X2)) → cons(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__if(X1, X2, X3) → if(X1, X2, X3)
a__add(X1, X2) → add(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
MARK(first(X1, X2)) → MARK(X1)
A__ADD(0, X) → MARK(X)
MARK(if(X1, X2, X3)) → MARK(X1)
MARK(add(X1, X2)) → MARK(X1)
MARK(and(X1, X2)) → MARK(X1)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
A__IF(false, X, Y) → MARK(Y)
MARK(first(X1, X2)) → MARK(X2)
MARK(add(X1, X2)) → A__ADD(mark(X1), X2)
A__IF(true, X, Y) → MARK(X)
A__AND(true, X) → MARK(X)
MARK(if(X1, X2, X3)) → A__IF(mark(X1), X2, X3)
a__and(true, X) → mark(X)
a__and(false, Y) → false
a__if(true, X, Y) → mark(X)
a__if(false, X, Y) → mark(Y)
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(add(X, Y))
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
a__from(X) → cons(X, from(s(X)))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(if(X1, X2, X3)) → a__if(mark(X1), X2, X3)
mark(add(X1, X2)) → a__add(mark(X1), X2)
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(X)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(X)) → s(X)
mark(nil) → nil
mark(cons(X1, X2)) → cons(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__if(X1, X2, X3) → if(X1, X2, X3)
a__add(X1, X2) → add(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(first(X1, X2)) → MARK(X1)
MARK(if(X1, X2, X3)) → MARK(X1)
MARK(add(X1, X2)) → MARK(X1)
MARK(and(X1, X2)) → MARK(X1)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
A__IF(false, X, Y) → MARK(Y)
MARK(first(X1, X2)) → MARK(X2)
MARK(add(X1, X2)) → A__ADD(mark(X1), X2)
A__IF(true, X, Y) → MARK(X)
MARK(if(X1, X2, X3)) → A__IF(mark(X1), X2, X3)
Used ordering: Combined order from the following AFS and order.
A__ADD(0, X) → MARK(X)
A__AND(true, X) → MARK(X)
first2 > [if3, mark, AIF2, false, true] > afrom1 > [add2, afirst]
first2 > [if3, mark, AIF2, false, true] > aand2 > [add2, afirst]
0 > [if3, mark, AIF2, false, true] > afrom1 > [add2, afirst]
0 > [if3, mark, AIF2, false, true] > aand2 > [add2, afirst]
0 > nil > [add2, afirst]
and2 > aand2 > [add2, afirst]
from > afrom1 > [add2, afirst]
aif3 > [if3, mark, AIF2, false, true] > afrom1 > [add2, afirst]
aif3 > [if3, mark, AIF2, false, true] > aand2 > [add2, afirst]
if3: multiset
afirst: multiset
first2: [1,2]
0: multiset
nil: multiset
aand2: [1,2]
true: multiset
and2: multiset
from: multiset
false: multiset
aif3: multiset
add2: [1,2]
afrom1: multiset
AIF2: multiset
mark: multiset
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
A__ADD(0, X) → MARK(X)
A__AND(true, X) → MARK(X)
a__and(true, X) → mark(X)
a__and(false, Y) → false
a__if(true, X, Y) → mark(X)
a__if(false, X, Y) → mark(Y)
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(add(X, Y))
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
a__from(X) → cons(X, from(s(X)))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(if(X1, X2, X3)) → a__if(mark(X1), X2, X3)
mark(add(X1, X2)) → a__add(mark(X1), X2)
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(X)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(X)) → s(X)
mark(nil) → nil
mark(cons(X1, X2)) → cons(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__if(X1, X2, X3) → if(X1, X2, X3)
a__add(X1, X2) → add(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)